﻿#if WINDOWS_PHONE
using System.Windows;
#else
using Windows.UI.Xaml;
#endif

namespace MetroEventToCommand
{
    public class EventParameter<T>
    {
        public T Parameter { get; set; }

        public object Sender { get; set; }

        public RoutedEventArgs EventArgs { get; set; }
        //
         public EventParameter()
         {
             
         }

         public EventParameter(object sender, RoutedEventArgs @event, T param)
        {
            Sender = sender;
            EventArgs = @event;
            Parameter = param;
        }
    }
}
